package org.example.spring_book.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.example.spring_book.model.UserInfo;

/**
 * @ClassName UserInfoMapper
 * @Description TODO
 * @Author wangxiaodong
 */
@Mapper
public interface UserInfoMapper {
    @Select("select * from user_info where delete_flag=0 and user_name=#{userName}")
    UserInfo queryByname(String userName);
}
